namespace Home.Domain.Migrations
{
    using System.Data.Entity.Migrations;
    
    public partial class data5 : DbMigration
    {
        public override void Up()
        {
            CreateTable(
                "UserInfo1",
                c => new
                    {
                        Id = c.Int(nullable: false),
                        UserName = c.String(maxLength: 32),
                        PassWord = c.String(maxLength: 32),
                        Ip = c.String(maxLength: 16),
                        Email = c.String(maxLength: 64),
                        Phone = c.String(maxLength: 32),
                        CreateDate = c.DateTime(nullable: false),
                        Code1 = c.String(),
                    })
                .PrimaryKey(t => t.Id);
            
        }
        
        public override void Down()
        {
            DropTable("UserInfo1");
        }
    }
}
